/* Preloader.scss */
.preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: black;
  position: relative;
}

.preloader-circle {
  width: 170px;
  height: 170px;

  border-top: 1px solid transparent;
  border-radius: 50%;
}

.preloader-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background-color: white;
  transform-origin: 0% 50%;
}

.preloader-line-top {
  top: 0;
  left: 50%;
  animation: lineMoveTop 2s ease-in-out forwards;
}

.preloader-line-bottom {
  bottom: 0;
  left: 50%;
  animation: lineMoveBottom 2s ease-in-out forwards;
}

.preloader-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #eda424;
}

@keyframes lineMoveTop {
  0% {
    height: 0;
  }

  100% {
    height: 39%;
  }
}

@keyframes lineMoveBottom {
  0% {
    height: 0;
  }
  100% {
    height: 39%;
  }
}
